function getCateFn(type) {
  let promise1 = new Promise((resolve, reject) => {
	  uni.request({
		url: uni.$apis+'/common/Datadictionary/getContent',
		data: { type: type },
	  	method:'POST',
	    success: (response) => {
	  		resolve(response.data.data)
	    },
	  	fail:(err)=>{
	  		reject(err)
	  	}
	  });
  });
  return promise1;
}

export default {
  getCateFn,
};